package com.mobile.struts.action;

import org.apache.struts.actions.MappingDispatchAction;
import org.springframework.web.context.WebApplicationContext;
import org.springframework.web.context.support.WebApplicationContextUtils;

public class BaseMappingDispatchAction extends MappingDispatchAction {

	public BaseMappingDispatchAction(){
		super();
	}
	
	public WebApplicationContext getWac() {
		WebApplicationContext wac =
			   WebApplicationContextUtils.getRequiredWebApplicationContext(servlet.getServletContext());
		return wac;
	}
	
}
